/* Example tokeninput style #2: Facebook style */
ul.token-input-list-facebook {
    overflow: hidden; 
    height: auto;
    width: 320px;
    border: 1px solid #BDC7D8;
    cursor: text;
    font-size: 12px;
    font-family: Verdana;
    z-index: 999;
    margin: 0;
    padding: 0;
    background-color: #fff;
    list-style-type: none;
    clear: left;
    max-height: 100px;
    overflow-y: auto;
}

ul.token-input-list-facebook li input {
    padding: 3px 8px;
    margin: 3px 0px;
    background-color: white;
    -webkit-appearance: caret;
    border: 0;
    width: 100px;
}

/* IE6+7 HACK BY jPath IE Killer */
ul.token-input-list-facebook li input {
    padding:0 8px 5px !zonecss;
    margin:0 !zonecss;
}

li.token-input-token-facebook {
    height: auto !important;
	margin: 4px 3px 0 3px;
	padding: 2px 3px 2px 5px;
    background-color: #eff2f7;
    color: #000;
    cursor: default;
    border: 1px solid #ccd5e4;
    font-size: 11px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    float: left;
    white-space: nowrap;
}

li.token-input-token-facebook p {
    display: inline;
    padding: 0;
    margin: 0;
}

li.token-input-token-facebook span {
    color: #a6b3cf;
    margin-left: 5px;
    font-weight: bold;
    cursor: pointer;
}

li.token-input-selected-token-facebook {
    background-color: #5670a6;
    border: 1px solid #3b5998;
    color: #fff;
}

li.token-input-selected-token-facebook p {
    color:#fff;
}

li.token-input-input-token-facebook {
    float: left;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

div.token-input-dropdown-wrap-facebook {
    position: relative;
    z-index: 0;
}

/* zindex select hack */
div.token-input-dropdown-wrap-facebook iframe {
    display:none;/*sorry for IE5*/ 
    display/**/:block;/*sorry for IE5*/
    position:absolute;/*must have*/
    top:0;/*must have*/
    left:0;/*must have*/
    z-index:-1;/*must have*/
    filter:mask();/*must have*/
    width:2000px;/*must have for any big value*/
    height:3000px/*must have for any big value*/;
}

div.token-input-dropdown-facebook {
    position: absolute;
    width: 276px;
    background-color: #F2F2F2;
    overflow: hidden;
    margin-top: -1px;
    border-top: 1px solid #eee;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    cursor: default;
    font-size: 11px;
    font-family: Verdana;
    z-index: 1;
}

div.token-input-dropdown-facebook p {
    margin: 0;
    padding: 2px 5px;
    color: black;
}

div.token-input-dropdown-facebook ul {
    margin: 0;
    padding: 0;
}

div.token-input-dropdown-facebook ul li {
    background-color: #fff;
    padding: 3px;
    margin: 0;
    list-style-type: none;
}

div.token-input-dropdown-facebook ul li.token-input-dropdown-item-facebook {
    background-color: #fff;
}

div.token-input-dropdown-facebook ul li.token-input-dropdown-item2-facebook {
    background-color: #fff;
}

div.token-input-dropdown-facebook ul li em {
    font-weight: bold;
    font-style: normal;
}

div.token-input-dropdown-facebook ul li.token-input-selected-dropdown-item-facebook {
    background-color: #3b5998;
    color: #fff;
}
